package com.huazi.www.drug.drugy.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

/**
 * 药品表
 *
 * @author 波——最帅的男人
 * @version 1.0
 * @date 2021/5/10 8:35
 */
public class Drug_record {
    private Integer prescribeId;  //诊号(来自医生开药)
    private String drugname;  //药品名称
    private Integer count; //数量
    private String doctorid;//开药医生id
    @JSONField(format = "yyyy-MM-dd")
    private Date prescribedate;//开药日期
    private Integer status; //状态

    public Drug_record(Integer prescribeId, String drugname, Integer count, String doctorid, Date prescribedate, Integer status) {
        this.prescribeId = prescribeId;
        this.drugname = drugname;
        this.count = count;
        this.doctorid = doctorid;
        this.prescribedate = prescribedate;
        this.status = status;
    }

    public Drug_record(String drugname, Integer count, String doctorid, Date prescribedate, Integer status) {
        this.drugname = drugname;
        this.count = count;
        this.doctorid = doctorid;
        this.prescribedate = prescribedate;
        this.status = status;
    }

    public Drug_record() {
    }

    public Drug_record(String drugname, Integer count, Date prescribedate) {
        this.drugname = drugname;
        this.count = count;
        this.prescribedate = prescribedate;
    }

    public Drug_record(String drugname, Integer count, String doctorid) {
        this.drugname = drugname;
        this.count = count;
        this.doctorid = doctorid;
    }

    public Integer getPrescribeId() {
        return prescribeId;
    }

    public void setPrescribeId(Integer prescribeId) {
        this.prescribeId = prescribeId;
    }

    public String getDrugname() {
        return drugname;
    }

    public void setDrugname(String drugname) {
        this.drugname = drugname;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getDoctorid() {
        return doctorid;
    }

    public void setDoctorid(String doctorid) {
        this.doctorid = doctorid;
    }

    public Date getPrescribedate() {
        return prescribedate;
    }

    public void setPrescribedate(Date prescribedate) {
        this.prescribedate = prescribedate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
